package com.yishuclass.common.domain.model;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

/**
 * @ClassName YsExchangeCodeList
 * @Description 兑换码数据列表
 * @Author wangdongliang
 * @Date 2021/5/17 9:04
 */
@Data
public class YsExchangeCodeList {
    @TableId
    private Integer id;
    /*兑换码管理表里数据id*/
    private Integer codeId;
    /*兑换码*/
    @NotEmpty(message = "兑换码不能为空")
    private String exchangeCode;
    /*删除状态：1删除，0未删除*/
    private Integer isDeleted = 0;
    /*创建时间*/
    private LocalDateTime createTime;
    /*使用状态*/
    private Integer useStatus;
    /*用户id*/
    private Integer userId;
    /*兑换时间*/
    private String exchangeTime;
}
